/*left menu*/
.leftmenu-container {
    position: fixed;
    top: 60px;
    bottom: 0;
    left: 0;
    width: 236px;
    overflow-y: auto;
    background-color: $main_color_3;
    box-shadow: 1px 0 6px $main_color;
    scrollbar-color:rgba(255, 255, 255, 0.4) rgba(255, 255, 255, 0.1); /* 滑块颜色  滚动条背景颜色 */
    scrollbar-width: none; /* 滚动条宽度有三种：thin、auto、none */

    &::-webkit-scrollbar {
      width: 4px;
      height: 1px;
    }

    .list {
      padding-right: 0;
      scrollbar-width: thin;
      &::-webkit-scrollbar {
        width: 4px;
      }
    }

    &::-webkit-scrollbar-thumb {
      /*滚动条里面小方块*/
      border-radius: 10px;
      box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
      background: #227bff;
    }

    &::-webkit-scrollbar-track {
      /*滚动条里面轨道*/
      box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
      border-radius: 10px;
      background: #001637;
    }

    .logo-box {
      padding: 0 30px;
      box-sizing: border-box;
      height: 60px;
      border-bottom: 1px solid #2e3b54;
      font-size: 24px;
      line-height: 60px;
      color: #999eb6;
    }

    .menu-list {
      padding-top: 16px;
      .item {
        position: relative;
        .item:hover {
          background-color: #06406a;
        }

        .icon {
          flex-basis: 20px;
          font-size: 20px;
        }

        .name {
          flex-grow: 1;
          padding-left: 16px;
          text-align: left;
        }

        .more {
          color: #ccd0d9;
          transition: transform .4s;
        }

        &.active .more{
          transform: rotate(-90deg);
        }

        &.active > .menu-item {
          font-weight: bold;
          color: #ffffff;
          background-color: $main_color_2;
        }
      }

      .menu-item {
        position: relative;
        display: flex;
        justify-content: space-between;
        padding: 16px 40px 16px 50px;
        min-height: 20px;
        line-height: 20px;
        color: #ffffff;
        cursor: pointer;
      }

      .menu-children {
        padding-left: 20px;
        overflow: hidden;
        max-height: 0;
        transition: max-height .8s;
        -webkit-transition: max-height .8s; /* Safari */
        .menu-item {
          padding: 10px 40px 10px 70px;
          font-size: 12px;
          color: #ffffff;
        }

        .active > .menu-item {
          color: $main_color;
        }

        .item.active > .menu-item::after {
          display: block;
          content: "";
          position: absolute;
          width: 6px;
          top: 0;
          bottom: 0;
          left: 0;
          background-color: #1498f7;
        }
      }

      .item.active .menu-children{
        max-height: 300px;
      }

    }
    

  }
 